angular.module('${menuCode}')
.controller("${widgetCode}Ctrl",function($scope,AppKit){
	$scope.openModal = function(id,text){
		$scope.modalTitle = text;
		$scope.currentInfoId = id;
		AppKit.createModal("bbs-content-modal",$scope);	
	}
	
	$scope.addClickNumber = function(id,num){
		$scope.info = {"fpmId":id,"fpmClickNumber":num};
		var url = "/portal/resource?ForumPost&actionType=mobileUpdatePostClickNumber"
		AppKit.postJsonApi(url,$scope.info).then(function(response){
		});
	}
});